<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/1/30
 * Time: 10:25
 */
return [
        // 驱动方式
        'cache'                  => [
            // 驱动方式
            'type'   => 'redis',
            'host'   => '127.0.0.1',
            'port'   => 6379,
            'password'   => '',
            // 缓存保存目录
            'path'   => CACHE_PATH,
            // 缓存前缀
            'prefix' => 'yf_',
            // 缓存有效期 0表示永久缓存
            'expire' => 3600*24*2,
        ],
        'time_expire' => 3600 * 24,
    ];